package com.bailian.app.exception;

/**
 * 登录异常类
 * 
 * @author bailian
 */
public class LoginException extends RuntimeException {
    
    private String errorCode;
    
    public LoginException(String message) {
        super(message);
    }
    
    public LoginException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }
    
    public LoginException(String message, Throwable cause) {
        super(message, cause);
    }
    
    public LoginException(String errorCode, String message, Throwable cause) {
        super(message, cause);
        this.errorCode = errorCode;
    }
    
    public String getErrorCode() {
        return errorCode;
    }
    
    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
} 